make MacOS build more straightforward