added config to build legacy libraries for xml, and make sure they're used by lxml