Fix the path to libraries.