Fix RPATH warning on MacOS systems.