Minor
Autoreconf does all the magic these days
Clang does not like this cast
The custom reader requires libxml as well
Use xml2-config if pkg-config file is missing