comment out blocks that deal with LTO; LLVM is too much at this point
use __sync_fetch_and_add for atomic operations instead of OSAtomicIncrement*
add Makefile and hard-coded configury for i386/x86_64