fix typo
set target machine architecture to corei7, and ensure compatibility with Linux