fix problems with arch.h, arch always resolved to X64