start of getting compile working on OSX