variouse cleaniups
This MR:
- switches to use DocBook 4.5 DTD
- removes use env command in script shebang
- add propagation of the build time dependecies which contains minimum versions to generated pkgconfig file
- fixes build issue of missing libxml build dependencies
Feel free to merge that or cherry pick exact commits.