Fixes for Neko target on haxe 3 branch.
Merge pull request #282 from crazysam/haxe3

Fixes for Neko target on haxe 3 branch.