Compatibility windows build (fcntl.h). This fix just ifdefs the code where needed. We should look into QSerialPort or my QExtSerialPort (this can be bundled np).