remove absolute paths for libs