(toolchains) Fixed build tools, such as the precompiler, running with the default Python version instead of the target's Python version under Bazel 10 (#3566).