diff --git a/Hledger/Cli/Add.hs b/Hledger/Cli/Add.hs
--- a/Hledger/Cli/Add.hs
+++ b/Hledger/Cli/Add.hs
@@ -117,7 +117,7 @@
                 | otherwise = Nothing
                 where Just ps = historicalps
       defaultaccount = maybe Nothing (Just . showacctname) bestmatch
-      ordot | null enteredps || length enteredrealps == 1 = ""
+      ordot | null enteredps || length enteredrealps == 1 = "" :: String
             | otherwise = ", or . to record"
   account <- runInteraction j $ askFor (printf "account %d%s" n ordot) defaultaccount (Just accept)
   if account=="."
diff --git a/Hledger/Cli/Balancesheet.hs b/Hledger/Cli/Balancesheet.hs
--- a/Hledger/Cli/Balancesheet.hs
+++ b/Hledger/Cli/Balancesheet.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE QuasiQuotes, RecordWildCards #-}
+{-# LANGUAGE QuasiQuotes, RecordWildCards, NoCPP #-}
 {-|
 
 The @balancesheet@ command prints a simple balance sheet.
diff --git a/Hledger/Cli/Cashflow.hs b/Hledger/Cli/Cashflow.hs
--- a/Hledger/Cli/Cashflow.hs
+++ b/Hledger/Cli/Cashflow.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE QuasiQuotes, RecordWildCards #-}
+{-# LANGUAGE QuasiQuotes, RecordWildCards, NoCPP #-}
 {-|
 
 The @cashflow@ command prints a simplified cashflow statement.  It just
diff --git a/Hledger/Cli/Incomestatement.hs b/Hledger/Cli/Incomestatement.hs
--- a/Hledger/Cli/Incomestatement.hs
+++ b/Hledger/Cli/Incomestatement.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE QuasiQuotes, TemplateHaskell, OverloadedStrings #-}
+{-# LANGUAGE QuasiQuotes, TemplateHaskell, OverloadedStrings, NoCPP #-}
 {-|
 
 The @incomestatement@ command prints a simple income statement (profit & loss) report.
diff --git a/Hledger/Cli/Stats.hs b/Hledger/Cli/Stats.hs
--- a/Hledger/Cli/Stats.hs
+++ b/Hledger/Cli/Stats.hs
@@ -41,7 +41,7 @@
       w1 = maximum $ map (length . fst) stats
       -- w2 = maximum $ map (length . show . snd) stats
       stats = [
-         ("Main journal file", path) -- ++ " (from " ++ source ++ ")")
+         ("Main journal file" :: String, path) -- ++ " (from " ++ source ++ ")")
         ,("Included journal files", unlines $ reverse $ -- cf journalAddFile
                                     drop 1 $ journalFilePaths j)
         ,("Transactions span", printf "%s to %s (%d days)" (start span) (end span) days)
@@ -69,7 +69,7 @@
              showelapsed Nothing = ""
              showelapsed (Just days) = printf " (%d %s)" days' direction
                                        where days' = abs days
-                                             direction | days >= 0 = "days ago"
+                                             direction | days >= 0 = "days ago" :: String
                                                        | otherwise = "days from now"
              tnum = length ts
              start (DateSpan (Just d) _) = show d
diff --git a/Hledger/Cli/Version.hs b/Hledger/Cli/Version.hs
--- a/Hledger/Cli/Version.hs
+++ b/Hledger/Cli/Version.hs
@@ -55,7 +55,7 @@
                                 | patches/="0" = '+' : patches
                                 | otherwise = ""
                             (os',suffix)
-                                | os == "darwin"  = ("mac","")
+                                | os == "darwin"  = ("mac","" :: String)
                                 | os == "mingw32" = ("windows",".exe")
                                 | otherwise       = (os,"")
                   prettify (major:minor:bugfix:[]) = prettify [major,minor,bugfix,"0"]
diff --git a/hledger.cabal b/hledger.cabal
--- a/hledger.cabal
+++ b/hledger.cabal
@@ -1,6 +1,6 @@
 name:           hledger
 -- also in cpp-options below
-version: 0.19
+version: 0.19.1
 category:       Finance
 synopsis:       The main command-line interface for the hledger accounting tool.
 description:
@@ -41,7 +41,7 @@
     Default:       True
 
 library
-  cpp-options:    -DVERSION="0.19"
+  cpp-options:    -DVERSION="0.19.1"
   ghc-options:    -W
   -- should be the same as below
   exposed-modules:
@@ -62,7 +62,7 @@
                   Hledger.Cli.Stats
   -- should be the same as below
   build-depends:
-                  hledger-lib == 0.19
+                  hledger-lib == 0.19.1
                  ,base >= 4.3 && < 5
                  -- ,cabal-file-th
                  ,containers
@@ -110,13 +110,13 @@
                   Hledger.Cli.Print
                   Hledger.Cli.Register
                   Hledger.Cli.Stats
-  cpp-options:    -DVERSION="0.19"
+  cpp-options:    -DVERSION="0.19.1"
   ghc-options:    -W
   if flag(threaded)
        ghc-options:   -threaded
  -- should be the same as above
   build-depends:
-                  hledger-lib == 0.19
+                  hledger-lib == 0.19.1
                  ,base >= 4.3 && < 5
                  ,containers
                  ,cmdargs >= 0.10 && < 0.11
