Workaround class_isMetaClass undefined error