Quick fix for compiling under OS X with libc++ and clang.

With C++11 under libc++, the tr1 namespace and its associated directory does not exist.  As a fix, check if _LIBCPP_VERSION is defined, and create a namespace alias to std.  This should fix a related compilation issue under OS X.