make python check work with python2
quick and dirty port to xerces 3
build fixes because of changes in boost