add x86 compilation support
add x86 compilation support