fix paths for libraries