fix OS X enum clash
Merge pull request #100 from mdoege/osx

fix OS X enum clash