Replace Q_OS_WIN32 by Q_OS_WIN

Fixes #1238