diff --git a/Data/CipherSaber2.hs b/Data/CipherSaber2.hs
--- a/Data/CipherSaber2.hs
+++ b/Data/CipherSaber2.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP, FlexibleContexts #-}
 -- Copyright © 2015 Bart Massey
 
 -- | Implementation of the "CipherSaber-2" RC4 encryption
@@ -12,7 +13,11 @@
   where
 
 import Control.Monad
+#if __GLASGOW_HASKELL__ < 710
 import Control.Monad.ST.Safe
+#else
+import Control.Monad.ST
+#endif
 import Data.Array
 import Data.Array.ST
 import Data.Bits
diff --git a/ciphersaber2.cabal b/ciphersaber2.cabal
--- a/ciphersaber2.cabal
+++ b/ciphersaber2.cabal
@@ -14,7 +14,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.1.1.1
+version:             0.1.1.2
 
 -- A short (one-line) description of the package.
 synopsis:            Implementation of CipherSaber2 RC4 cryptography.
@@ -61,7 +61,7 @@
 source-repository this
   type:     git
   location: http://github.com/BartMassey/ciphersaber2
-  tag:      v0.1.1.1
+  tag:      v0.1.1.2
 
 library
   -- Modules exported by the library.
