Fix enum compatibility with older Pythons.

Refs: https://github.com/iconfinder/pyvat/pull/5/files#r22315048