Make it work with new haxelib

I have added a haxelib.json so that it works with current haxelib version.