Fix OS X DYLD_LIBRARY_PATH handling if not all plugins are in place.