Fix the shared library path.