Fixed compilation errors related to namedspaced enums
Merge pull request #98 from jamesrhurst/namespaced-enums

Fixed compilation errors related to namedspaced enums