MDL-39211 forgotten include of /course/lib.php