Fix compilation in mode without libxml2 (bug introduced in previous