Correct handling of ARM when cross-compiling.