diff --git a/pandoc-stylefrommeta.cabal b/pandoc-stylefrommeta.cabal
--- a/pandoc-stylefrommeta.cabal
+++ b/pandoc-stylefrommeta.cabal
@@ -1,10 +1,9 @@
 name:                pandoc-stylefrommeta
-version:             0.2.0.0
+version:             0.2.0.1
 synopsis:            Pandoc filter to customize links, images and paragraphs
 description:         Pandoc filter to customize links, images and paragraphs
-        (with restrictions) in HTML and LaTeX formats. Styles are read from the
-        metadata of the document: they may reside inside the document or in a
-        separate YAML file.
+        (with restrictions). Styles are read from the metadata of the document:
+        they may reside inside the document or in a separate YAML file.
 homepage:            http://github.com/lyokha/styleFromMeta
 license:             BSD3
 license-file:        LICENSE
diff --git a/styleFromMeta.hs b/styleFromMeta.hs
--- a/styleFromMeta.hs
+++ b/styleFromMeta.hs
@@ -21,13 +21,19 @@
 #define MBPLAIN Para
 #endif
 
+#if MIN_TOOL_VERSION_ghc(7,10,1)
 pattern Style :: String -> Inline
+#endif
 pattern Style x <- Math InlineMath x
 
+#if MIN_TOOL_VERSION_ghc(7,10,1)
 pattern Subst :: String -> Inline
+#endif
 pattern Subst x = Math InlineMath x
 
+#if MIN_TOOL_VERSION_ghc(7,10,1)
 pattern SubstVerbatim :: String -> Inline
+#endif
 pattern SubstVerbatim x <- Math DisplayMath x
 
 pattern Alt :: [Inline] -> [Inline]
