Update for Haxe 3.1.3 compatibility
Merge pull request #29 from jasononeil/haxe313update

Update for Haxe 3.1.3 compatibility