configure: set EXESUF before it is used