add compiling x86 version option to makefile