Update Lib.hx

Haxe3 compatible