Add parse support for enums in cparse