Fix compilation errors on OS X 10.9 Mavericks.

On OS X 10.9, it looks like Clang is used by default, it does not look for
g++ 4.2 TR1 headers.