diff --git a/codex.cabal b/codex.cabal
--- a/codex.cabal
+++ b/codex.cabal
@@ -1,5 +1,5 @@
 name:                codex
-version:             0.4.0.0
+version:             0.4.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,
@@ -43,8 +43,7 @@
     , lens                >= 4.6        && < 5
     , machines            >= 0.2        && < 0.6
     , machines-directory  >= 0.0.0.2    && < 0.3
-    -- , MissingH            >= 1.2.1.0    && < 1.4
-    , process             >= 1.1.0.2    && < 1.3
+    , process             >= 1.2.3      && < 1.4
     , tar                 >= 0.4.0.1    && < 0.5
     , text                >= 1.1.1.3    && < 1.3
     , transformers        >= 0.3.0.0    && < 0.5
@@ -71,13 +70,13 @@
     , either
     , filepath
     , hackage-db
-    , MissingH
+    , MissingH            >= 1.2.1.0    && < 1.4
     , monad-loops         >= 0.4.2      && < 0.5
     , network             >= 2.6        && < 2.7
     , process
     , wreq
     , yaml                
-    , codex               == 0.4.0.0
+    , codex               == 0.4.0.2
 
 source-repository head
   type:     git
diff --git a/src/Codex/Internal.hs b/src/Codex/Internal.hs
--- a/src/Codex/Internal.hs
+++ b/src/Codex/Internal.hs
@@ -1,6 +1,11 @@
+{-# LANGUAGE CPP #-}
 {-# LANGUAGE DeriveGeneric #-}
 {-# LANGUAGE StandaloneDeriving #-}
 module Codex.Internal where
+
+#if !MIN_VERSION_base(4,8,0)
+import Control.Applicative ((<$>))
+#endif
 
 import Data.Char (isSpace)
 import Data.Yaml
