Revert "[runtime] Fix a win32 build failure, more remains."

This reverts commit 5c90d7cdba4c82f2f4e2ae7a2af3c00ebb9029c5.

Revert this as it breaks the build.