Some cross-arch autoconf improvements.