Add missing Q_OS_WIN ifdef.