Fixed Haxe 3 bugs
Added Mac scripts