haxe3

Updated lib to haxe3.