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.
Merge pull request #1 from tetsuok/fix-compile-error-osx10.9

Fix compilation errors on OS X 10.9 Mavericks.