Fix the build on MSVC, as indicated by @JeffM2501