Fixed Windows crash when no serial port available

Win7 raises the error when not finding any serial ports at all (which is
the case on my laptop...)