diff --git a/servant-pandoc.cabal b/servant-pandoc.cabal
--- a/servant-pandoc.cabal
+++ b/servant-pandoc.cabal
@@ -10,7 +10,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.4.1.1
+version:             0.4.1.2
 
 -- A short (one-line) description of the package.
 synopsis:            Use Pandoc to render servant API documentation
@@ -45,6 +45,8 @@
 -- Constraint on the version of Cabal needed to build this package.
 cabal-version:       >=1.10
 
+tested-with: GHC == 7.8.2, GHC == 7.10.3
+
 source-repository head
   type: git
   location: https://github.com/mpickering/servant-pandoc/
@@ -62,7 +64,7 @@
   -- Other library packages from which modules are imported.
   build-depends:       base >=4.7 && <5
                      , http-media >=0.6 && <0.7
-                     , lens >=4.9 && <4.12
+                     , lens >=4.9 && <5
                      , pandoc-types >=1.12 && <1.13
                      , servant-docs >=0.4 && <0.5
                      , unordered-containers >=0.2 && <0.3
diff --git a/src/Servant/Docs/Pandoc.hs b/src/Servant/Docs/Pandoc.hs
--- a/src/Servant/Docs/Pandoc.hs
+++ b/src/Servant/Docs/Pandoc.hs
@@ -43,7 +43,7 @@
 import Data.Foldable (foldMap)
 import Data.ByteString.Lazy (ByteString)
 import qualified Data.ByteString.Lazy.Char8 as B (unpack)
-import Control.Lens
+import Control.Lens ((^.))
 
 
 -- | Helper function which can be used to make a pandoc filter which
