Fix xml error by using libxml2 instead libxml