fix #3242 by passing gcc -dumpmachine to all configure scripts, instead of allowing autodetection with config.guess