Only use CMake version of arith checks when cross compiling