Properly initialize libxml2

Merged Michał Kępień requested to merge 1245-properly-initialize-libxml2 into master

Merge request reports