enrol_imsenterprise: MDL-46363 including course lib when create_course is