fix compile error on mac
and another type mismatch on mac
ifdef out the special mac code for now

it needs more fixing and I can't test it.
Compile for current arch only, don't force x86.
Merge pull request #16 from justinclift/compile_on_osx

Compile for current arch only, don't force x86.