Fix OSX build.