Fix paths to lib files.