Haxe 3 compatibility lib for haxe 2