Fix MSVC warning regression