Fix cross-compile when target system is known to autoconf,