Fixed SetupTool to work with haxe 3.0