Fix MSVC warnings about struct/class mismatch for dynamic metaobjects.