Haxe 3 and Neko 2 compatibility fix