diff --git a/fast-arithmetic.cabal b/fast-arithmetic.cabal
--- a/fast-arithmetic.cabal
+++ b/fast-arithmetic.cabal
@@ -1,5 +1,5 @@
 name:                fast-arithmetic
-version:             0.2.2.2
+version:             0.2.2.3
 synopsis:            Fast functions on integers.
 description:         Fast functions for number theory and combinatorics with a high level of safety guaranteed by [ATS](http://www.ats-lang.org/). This package also provides a
                      'Storable' instance for GMP's @mpz@ type.
@@ -51,10 +51,15 @@
                      , Numeric.Combinatorics
                      , Data.GMP
   other-modules:       Numeric.Common
-  build-depends:       base >= 4.7 && < 5
+  if impl(ghc < 7.10)
+    build-depends:     base >= 4.7 && < 5
                      , composition-prelude
                      , recursion-schemes
                      , foundation < 0.0.18
+  else
+    build-depends:     base >= 4.7 && < 5
+                     , composition-prelude
+                     , recursion-schemes
   default-language:    Haskell2010
   if flag(development)
     if impl(ghc >= 8.0)
