Set up build for OSX.