#40 fix mod_enum test portability