diff --git a/hsx2hs.cabal b/hsx2hs.cabal
--- a/hsx2hs.cabal
+++ b/hsx2hs.cabal
@@ -1,5 +1,5 @@
 Name:                   hsx2hs
-Version:                0.14.1.7
+Version:                0.14.1.8
 License:                BSD3
 License-File:           LICENSE
 Author:                 Niklas Broberg, Joel Bjornson
@@ -37,23 +37,15 @@
     type:     git
     location: https://github.com/seereason/hsx2hs
 
-
-Flag base4
-
 Library
   Default-Language:     Haskell2010
-  Build-depends:	mtl              >= 2.0  && < 2.3,
+  Build-depends:	base >= 4 && < 5,
+                        mtl              >= 2.0  && < 2.3,
                         haskell-src-exts >= 1.18 && < 1.24,
                         haskell-src-meta >= 0.7  && < 0.9,
                         template-haskell >= 2.7  && < 2.17,
                         bytestring,
                         utf8-string      >= 0.3  && < 1.1
-
-  if flag(base4)
-    Build-depends:      base >= 4 && < 5
-    cpp-options:        -DBASE4
-  else
-    Build-depends:      base >= 3 && < 4
   Hs-Source-Dirs: 	src
   Exposed-Modules:      Language.Haskell.HSX.Transform
                         Language.Haskell.HSX.QQ
@@ -72,7 +64,16 @@
 
 Executable hsx2hs
   Default-Language:     Haskell2010
+  Default-Extensions:   CPP
   Main-Is:              hsx2hs.hs
   Hs-Source-Dirs:       src
+  Build-depends:	base >= 4 && < 5,
+                        mtl              >= 2.0  && < 2.3,
+                        haskell-src-exts >= 1.18 && < 1.24,
+                        haskell-src-meta >= 0.7  && < 0.9,
+                        template-haskell >= 2.7  && < 2.17,
+                        bytestring,
+                        utf8-string      >= 0.3  && < 1.1
+
   Other-modules:        Language.Haskell.HSX.Transform
                         Language.Haskell.HSX.QQ
diff --git a/src/hsx2hs.hs b/src/hsx2hs.hs
--- a/src/hsx2hs.hs
+++ b/src/hsx2hs.hs
@@ -1,11 +1,7 @@
 {-# LANGUAGE CPP #-}
 module Main where
 
-#ifdef BASE4
-import Control.OldException           (handle,ErrorCall(..))
-#else
 import Control.Exception              (handle,ErrorCall(..))
-#endif
 import Data.List                      (isPrefixOf)
 import Prelude                        hiding (readFile, writeFile)
 import Language.Haskell.Exts          hiding (parse)
