diff --git a/pandoc-stylefrommeta.cabal b/pandoc-stylefrommeta.cabal
--- a/pandoc-stylefrommeta.cabal
+++ b/pandoc-stylefrommeta.cabal
@@ -1,5 +1,5 @@
 name:                pandoc-stylefrommeta
-version:             0.2.0.1
+version:             0.2.0.2
 synopsis:            Pandoc filter to customize links, images and paragraphs
 description:         Pandoc filter to customize links, images and paragraphs
         (with restrictions). Styles are read from the metadata of the document:
diff --git a/styleFromMeta.hs b/styleFromMeta.hs
--- a/styleFromMeta.hs
+++ b/styleFromMeta.hs
@@ -36,7 +36,9 @@
 #endif
 pattern SubstVerbatim x <- Math DisplayMath x
 
+#if MIN_TOOL_VERSION_ghc(7,10,1)
 pattern Alt :: [Inline] -> [Inline]
+#endif
 pattern Alt x <- (dropWhile (== Space) -> x)
 
 type MMap = M.Map String MetaValue
