OSX build fix.