fixes to compile on OS X (tested 10.8.5)
- also requires updating /usr/lib/clang/4.2/include/cpuid.h