Remove xml.dom.minidom dependency, since it's painful to get it work on Ubuntu.