qt5apps: fix compilation with MSVC