Set correct library path.