Fix for OS X builds.