diff --git a/Data/CaseInsensitive.hs b/Data/CaseInsensitive.hs
--- a/Data/CaseInsensitive.hs
+++ b/Data/CaseInsensitive.hs
@@ -51,6 +51,11 @@
 
 import qualified Data.List as L ( map )
 
+#if __GLASGOW_HASKELL__ < 700
+import Control.Monad ( (>>) )
+import Prelude       ( fromInteger )
+#endif
+
 -- from bytestring:
 import qualified Data.ByteString      as B  ( ByteString, map )
 import qualified Data.ByteString.Lazy as BL ( ByteString, map )
diff --git a/case-insensitive.cabal b/case-insensitive.cabal
--- a/case-insensitive.cabal
+++ b/case-insensitive.cabal
@@ -1,5 +1,5 @@
 name:          case-insensitive
-version:       1.0
+version:       1.0.0.1
 cabal-version: >=1.8
 build-type:    Simple
 license:       BSD3
@@ -25,7 +25,7 @@
 
 Library
   ghc-options: -Wall
-  build-depends: base       >= 3   && < 4.7
+  build-depends: base       >= 3   && < 4.8
                , bytestring >= 0.9 && < 0.11
                , text       >= 0.3 && < 0.12
                , deepseq    >= 1.1 && < 1.4
@@ -38,7 +38,7 @@
   hs-source-dirs: test
 
   build-depends: case-insensitive
-               , base                 >= 3     && < 4.7
+               , base                 >= 3     && < 4.8
                , bytestring           >= 0.9   && < 0.11
                , text                 >= 0.3   && < 0.12
                , HUnit                >= 1.2.2 && < 1.3
@@ -55,7 +55,7 @@
   ghc-options:    -Wall -O2
 
   build-depends: case-insensitive
-               , base                 >= 3     && < 4.7
+               , base                 >= 3     && < 4.8
                , bytestring           >= 0.9   && < 0.11
                , criterion            >= 0.6.1 && < 0.7
                , deepseq              >= 1.1   && < 1.4
