Support platforms where executables have a suffix (e.g. .exe).