Fix libxml2 python

This is based off of `uvcdat/master`.  This repo's master is a few commits behind, so there are a few extra commits here.