fixed make error on linux:
    make[1]: arch: Command not found
use `uname -m` to determine x86_64 or i686 machine.