move CROSS_COMPILE and ARCH out of script