Compilation fix for MSVC+Qt5