automatically detect the compiler binary's name, especially for mingw an...

...d cygwin