early work on the build system for osx