Check for the "xml" extension in addition to libxml. Fixes #2246.
The XML extension is needed by the RSS blocktype to parse RSS feeds. To be honest, I'm surprised it wasn't needed before to parse the install.xml files. (cherry picked from commit d49f1ab0)