Add set_paths script for macOS.