enable c++11 for std::shared_ptr