[runtime] Fix the sparc build.
[runtime] Fix the windows build.