Fix for Mac OS X builds.