Fixed the library loader