diff --git a/Text/LaTeX/Guide/Auto.hs b/Text/LaTeX/Guide/Auto.hs
--- a/Text/LaTeX/Guide/Auto.hs
+++ b/Text/LaTeX/Guide/Auto.hs
@@ -7,4 +7,4 @@
 
 -- | The version of the guide. Based on the version of the package.
 guideVersion :: Version
-guideVersion = Version [1,3,1,3] []
+guideVersion = Version [1,3,1,4] []
diff --git a/Text/LaTeX/Guide/Backend/HTML.hs b/Text/LaTeX/Guide/Backend/HTML.hs
--- a/Text/LaTeX/Guide/Backend/HTML.hs
+++ b/Text/LaTeX/Guide/Backend/HTML.hs
@@ -1,5 +1,5 @@
 
-{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE OverloadedStrings, CPP #-}
 
 module Text.LaTeX.Guide.Backend.HTML (
   backend
@@ -21,6 +21,10 @@
 import Data.Version (showVersion)
 -- Time
 import Data.Time
+
+#if !MIN_VERSION_base(4,8,0)
+import Control.Applicative ((<$>))
+#endif
 
 resURL :: Text -> Text
 resURL t = "https://raw.github.com/Daniel-Diaz/hatex-guide/master/res/" <> t
diff --git a/Text/LaTeX/Guide/Info.hs b/Text/LaTeX/Guide/Info.hs
--- a/Text/LaTeX/Guide/Info.hs
+++ b/Text/LaTeX/Guide/Info.hs
@@ -1,4 +1,6 @@
 
+{-# LANGUAGE CPP #-}
+
 module Text.LaTeX.Guide.Info (
    sectionList
  , contributors
@@ -10,6 +12,14 @@
 import Text.LaTeX.Guide.Syntax
 import System.FilePath
 import System.Directory (getAppUserDataDirectory)
+
+#ifndef MIN_VERSION_base
+#define MIN_VERSION_base(x,y,z) 0
+#endif
+
+#if !MIN_VERSION_base(4,8,0)
+import Data.Monoid (mappend)
+#endif
 
 -- | Ordered list of sections.
 sectionList :: [String]
diff --git a/hatex-guide.cabal b/hatex-guide.cabal
--- a/hatex-guide.cabal
+++ b/hatex-guide.cabal
@@ -1,5 +1,5 @@
 Name: hatex-guide
-Version: 1.3.1.3
+Version: 1.3.1.4
 Author: Daniel Díaz
 Build-type: Custom
 Category: LaTeX
