[Runtime] Fix buildbot failure on Windows for PR#1667.

Fix buildbot failure on Windows for PR#1667.