boost::shared_*_cast are deprecated, removed in boost 1.53