Fix for compiling on latest OSX SDK version.