make compatible with haxe3
Merge pull request #4 from freakinruben/master

Haxe3 compatible
fixes caused by using inline
use Compiler.includeFile for haxe3
Merge pull request #6 from freakinruben/master

Fixing untested mistake with using
Update from upstream