Fixing compilation problems

xml-c14n should not be compiled if LIBXML2 is not present. This change
adds a new conditional HAVE_LIBXML2 that is used to detect the presence
of LIBXML2 and take the corresponding action.