Fixed a bug in Objectfactory where it was appending the library
directory incorrectly, and not finding files to load.