[runtime] Fix the cross-compiler build.