automatic creation of library paths