Allowed both main.exe and main as name of executable on Windows