Fix build error with MSVC.
5 files changed