update library path environment variable for macos