implement SerialPortOpen for windows