Make version_class objects comparable.