diff --git a/ghc-core.cabal b/ghc-core.cabal
--- a/ghc-core.cabal
+++ b/ghc-core.cabal
@@ -1,5 +1,5 @@
 name:           ghc-core
-version:        0.5
+version:        0.5.1
 license:        BSD3
 license-file:   LICENSE
 author:         Don Stewart
@@ -26,7 +26,7 @@
 -- Technically, hscolour-1.10.* will work too if we replace the
 -- 'NoLit' constructor with 'False' in the call to 'hscolour'.
 executable ghc-core
-    build-depends:  base < 10,
+    build-depends:  base >= 4 && < 5,
                     process >=1.0.1,
                     pcre-light,
                     colorize-haskell,
diff --git a/ghc-core.hs b/ghc-core.hs
--- a/ghc-core.hs
+++ b/ghc-core.hs
@@ -23,7 +23,7 @@
 ------------------------------------------------------------------------
 
 import Control.Concurrent
-import Control.Exception
+import Control.OldException
 import Control.Monad
 import Data.List
 import Data.Maybe
@@ -35,7 +35,7 @@
 import System.IO
 import System.Process hiding (readProcess)
 import Text.Printf
-import qualified Control.Exception as C
+import qualified Control.OldException as C
 
 import Text.Regex.PCRE.Light.Char8
 
