diff --git a/codex.cabal b/codex.cabal
--- a/codex.cabal
+++ b/codex.cabal
@@ -1,5 +1,5 @@
 name:                codex
-version:             0.3
+version:             0.3.0.2
 synopsis:            A ctags file generator for cabal project dependencies.
 description:
   This tool download and cache the source code of packages in your local hackage,
@@ -76,7 +76,7 @@
     , network             >= 2.6        && < 2.7
     , wreq
     , yaml                
-    , codex               == 0.3
+    , codex               == 0.3.0.2
 
 source-repository head
   type:     git
diff --git a/src/Codex.hs b/src/Codex.hs
--- a/src/Codex.hs
+++ b/src/Codex.hs
@@ -1,4 +1,10 @@
+{-# LANGUAGE CPP #-}
 module Codex (Codex(..), defaultTagsFileName, Verbosity, module Codex) where
+
+#if !MIN_VERSION_base(4,8,0)
+import Control.Applicative ((<$>))
+import Data.Traversable (traverse)
+#endif
 
 import Control.Exception (try, SomeException)
 import Control.Lens ((^.))
diff --git a/src/Codex/Project.hs b/src/Codex/Project.hs
--- a/src/Codex/Project.hs
+++ b/src/Codex/Project.hs
@@ -1,4 +1,10 @@
+{-# LANGUAGE CPP #-}
 module Codex.Project where
+
+#if !MIN_VERSION_base(4,8,0)
+import Control.Applicative ((<$>))
+import Data.Traversable (traverse)
+#endif
 
 import Control.Exception (try, SomeException)
 import Data.Function
