LuaBindings: prefer shared_ptr over weak_ptr