[runtime] Fix the msvc build.