HAVE_LIBXML2 needs to be defined as conditional in configure.ac

See other instances of AM_CONDITIONAL(...). MONGO for instance