fixes to compile on OS X (tested 10.8.5)
- also requires updating /usr/lib/clang/4.2/include/cpuid.h
Merge pull request #2 from adferguson/master

fixes to compile on OS X (tested 10.8.5)