Fix luabind shared_ptr reference counting.