Fix scoped enum support (C++11)

C++11 scoped enums are specified as either
"enum class" or "enum struct", not "enum class struct"
Merge pull request #42 from zjg/cxx11-enum-class

Fix scoped enum support (C++11)