Fix for building from a chroot where the host may be e.g. 64 bit and the target
is 32 bit, we can't use CMAKE_SYSTEM_PROCESSOR and need to ask the compiler.