update importPaths and libraryPaths to be safe