Use @rpath for libraries rather than @executable_path on OSX.