moved AC_EXEEXT downward. It has to be below the compiler checks.