Fix compilation error when building with Visual Studio.