NOBUG: Avoid a notice caused by undefined $CFG->libdir

MDL-47195 introduced a new PSR0 autoloader and a new
requirement, needing libdir to be defined. We don't use such PSR0
at all, but it's executed so need it defined. This patch
just fulfills that new requirement.