Fix for OSX build break