[runtime] Fix the --disable-boehm build on windows.