fix boost::intrusive_ptr support