fix clang build on OSX 10.9 Mavericks

This properly addresses CXXFLAGS issue on 2.4 branch. 

https://github.com/mxcl/homebrew/issues/22771