mingw32: do as for cygwin platforms & default the name of the generated binary to main.exe if -o <...> isn't given.