fix libxml compile issues