diff --git a/ncurses.cabal b/ncurses.cabal
--- a/ncurses.cabal
+++ b/ncurses.cabal
@@ -1,5 +1,5 @@
 name: ncurses
-version: 0.1.0.1
+version: 0.1.0.2
 synopsis: Modernised bindings to GNU ncurses
 license: GPL-3
 license-file: license.txt
@@ -19,11 +19,15 @@
   location: http://john-millikin.com/software/bindings/ncurses/
 
 library
-  ghc-options: -Wall -fno-warn-unused-do-bind
+  if true
+    ghc-options: -Wall
 
+  if impl(ghc >= 6.11)
+    ghc-options: -fno-warn-unused-do-bind
+
   build-depends:
       base >= 4 && < 5
-    , containers >= 0.2 && < 0.4
+    , containers >= 0.2 && < 0.5
     , text >= 0.7 && < 0.11
     , transformers >= 0.2 && < 0.3
 
