Fixups for situations where there's no libxml2
fixes to support compiling w/o GDAL