Qualify boost::shared_ptr

To avoid errors with compilers that have std::shared_ptr.