Fix XmlProvider constructors on PCL 7 (closes #588)