support non-types as Py2 metaclasses