OSX build work in progress.