Update Bazel's Bzlmod build

- no longer need override --crosstool_top and --xcode_version_config since https://github.com/bazelbuild/bazel/issues/14279 is fixed
- update abseil-cpp version to fix build on latest macOS.

PiperOrigin-RevId: 447976139
diff --git a/.bazelrc b/.bazelrc
index 388f63f..3885564 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -29,9 +29,6 @@
 
 # Enable Bzlmod
 build:bzlmod --experimental_enable_bzlmod
-# TODO(pcloudy): The following should be removed after fixing https://github.com/bazelbuild/bazel/issues/14279
-build:bzlmod --crosstool_top=@rules_cc.0.0.1.cc_configure.local_config_cc//:toolchain
-build:bzlmod --xcode_version_config=@rules_cc.0.0.1.cc_configure.local_config_xcode//:host_xcodes
 
 # Enable Java 11 language features (https://github.com/bazelbuild/bazel/issues/14592)
 build --java_language_version=11
diff --git a/MODULE.bazel b/MODULE.bazel
index 173f65f..38897ce 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -33,6 +33,12 @@
 bazel_dep(name = "rules_java", version = "5.0.0")
 bazel_dep(name = "rules_proto", version = "4.0.0")
 
+# In-direct dependencies
+# - abseil-cpp: Bazel doesn't need to see abseil-cpp directly, but it does
+#   need a newer version to be able to build on latest macOS.
+bazel_dep(name = "abseil-cpp", version = "20211102.0")
+
+
 # TODO(pcloudy): Remove this when rules_jvm_external adopts Bzlmod.
 single_version_override(
   module_name = "protobuf",