Fix a compilation error on MSVC.
Merge pull request #448 from TsudaKageyu/msvc-error

Fix a compilation error on MSVC.