Replaced static var by unnamed enum to fix link error on osx.
Merge pull request #244 from est77/llvm-gcc_link_error_fix

Replaced static var by unnamed enum to fix link error on osx.