Fix to compile p1_xml the way we need