Minor updates to let it build on Mono

System.XML changed to System.Xml (case-sensitive file system)