diff --git a/compiler/GHC.hs b/compiler/GHC.hs
--- a/compiler/GHC.hs
+++ b/compiler/GHC.hs
@@ -1997,6 +1997,6 @@
 
 
 #if !defined(javascript_HOST_ARCH)
-foreign import ccall unsafe "keepCAFsForGHCi"
+foreign import ccall unsafe "ghc_lib_parser_keepCAFsForGHCi"
     c_keepCAFsForGHCi   :: IO Bool
 #endif
diff --git a/ghc-lib.cabal b/ghc-lib.cabal
--- a/ghc-lib.cabal
+++ b/ghc-lib.cabal
@@ -1,7 +1,7 @@
 cabal-version: 3.0
 build-type: Simple
 name: ghc-lib
-version: 9.8.3.20241022
+version: 9.8.3.20241103
 license: BSD-3-Clause
 license-file: LICENSE
 category: Development
@@ -95,8 +95,8 @@
         semaphore-compat,
         rts,
         hpc >= 0.6 && < 0.8,
-        ghc-lib-parser == 9.8.3.20241022
-    build-tool-depends: alex:alex >= 3.1, happy:happy > 1.20 && < 2.0
+        ghc-lib-parser == 9.8.3.20241103
+    build-tool-depends: alex:alex >= 3.1, happy:happy == 1.20.* || >= 2.0.2 && < 2.1
     other-extensions:
         BangPatterns
         CPP
diff --git a/ghc-lib/stage0/lib/settings b/ghc-lib/stage0/lib/settings
--- a/ghc-lib/stage0/lib/settings
+++ b/ghc-lib/stage0/lib/settings
@@ -1,10 +1,10 @@
-[("C compiler command", "/usr/bin/gcc")
+[("C compiler command", "/usr/local/opt/ccache/libexec/gcc")
 ,("C compiler flags", "--target=x86_64-apple-darwin  -Qunused-arguments")
-,("C++ compiler command", "/usr/bin/g++")
+,("C++ compiler command", "/usr/local/opt/ccache/libexec/g++")
 ,("C++ compiler flags", "--target=x86_64-apple-darwin ")
 ,("C compiler link flags", "--target=x86_64-apple-darwin   -Wl,-no_fixup_chains -Wl,-no_warn_duplicate_libraries")
 ,("C compiler supports -no-pie", "NO")
-,("Haskell CPP command", "/usr/bin/gcc")
+,("Haskell CPP command", "/usr/local/opt/ccache/libexec/gcc")
 ,("Haskell CPP flags", "-E -undef -traditional -Wno-invalid-pp-token -Wno-unicode -Wno-trigraphs")
 ,("ld command", "ld")
 ,("ld flags", "")
