Make the ./configure cross-compiler friendly.