Fix missing windows includes for userinfo
This fixes the windows build by adding some missing includes. QtGlobal is required to use the Q_OS_WIN macro.