Fix for Mac OSX Xcode.