Deal with old libxml incompatibilities.