Cleanup building for OSX