Fix library paths.