Fixing issues with preloaded libraries.