Clean up the Xen event version checks and make events work with the latest 4.5 master branch.