fix build spec for enum
Merge pull request #140 from keyme/fix_build_spec

fix build spec for enum