fix bug that msvc compile failed.