install_name_tool -change libfoo2.dylib '@loader_path/libfoo2.dylib' main
install_name_tool -change libbar.dylib '@loader_path/hide/libbar.dylib' main
install_name_tool -change libfoo2.dylib '@loader_path/libfoo2.dylib' main
install_name_tool -change libbar.dylib '@loader_path/hide/libbar.dylib' main