enable extensions required for haddock in ghc-prim