chore(build): apply changes for forthcoming Bazel incompatibilities (#3761)

* chore(build): apply changes for forthcoming Bazel incompatibilities

* chore(build): fix bazelrc
3 files changed