Fix multiple levels of <set /> tags, fix bug where Haxe doesn't properly override classes when multiple -lib tags of the same haxelib are used