Support qsocketnotifier test on Windows