cleaning up build for Mac