Fixes the OSX build