fixed xml parsing for mingw64