Fix compilation issue with MSVC.