try to detect windows and add '.exe' to the executable name