fix finding serial ports on windows

this fix is needed to work around a bug in the pyserial list ports on
windows.