use BUILD_ARCH in  check_for_ppc

Build workers are BigEndian, so we can't rely on uname output. Let use
BUILD_ARCH instead.