fix swig wrappers for boost::shared_ptr<...>