Rearranged configure script so it checks for GCC *before* trying to determine executable suffixes etc. To fix configure problems on Solaris.