Fix MacOSX build.