fix breakage due to the .exe change, add error flags to config.mak.def