Fix compilation errors on OS X 10.9.

On OS X 10.9, C++ compilers don't look for C++ TR1 headers.
Include the OS X specific header to use OS specific macros.
Merge pull request #5 from tetsuok/fix-osx10.9-compile-error

Fix compilation errors on OS X 10.9.