Fixes pugixml use error.