Fix OSX Xcode Clang build issues.