Fix compilation errors on OS X 10.9.

On OS X 10.9, C++ compilers don't look for C++ TR1 headers.