workaround for haxe bug: Inter.Runtime(_) happening in ClassBuilder.createClass()