fix XML file loaders to work with CentOS libxml2 bug