corrected HAVE_XML2 variable name