Factor out MacOS.locate("install_name_tool") calls
Extract name repair logic from fix_install_names