Adding detection of C++11 std::shared_ptr (or TR1 implementation)