bazel build: make it work with mingw
4 files changed