Stops duplicating reconfigure when task:reconfigure is called, and corrects error when running a debug build through a Haxe compiler.