Fix QVM compilation with MSVC