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. This patch
just fulfills that new requirement.
Merge pull request #23 from stronk7/master

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