Got it working with haxe3
Merge pull request #1 from prgsmall/master

Recompiling with Haxe 3