patch for windows build.
find logic for tinyxml