update library path when installing