Fix the OSX build