diff --git a/ArrayRef.cabal b/ArrayRef.cabal
--- a/ArrayRef.cabal
+++ b/ArrayRef.cabal
@@ -1,5 +1,5 @@
 Name:               ArrayRef
-Version:            0.1.3
+Version:            0.1.3.1
 Category:           Data
 Synopsis:           Unboxed references, dynamic arrays and more
 Description:        This array library supports: unboxed references,
@@ -16,7 +16,7 @@
 cabal-version:      >= 1.2.3
 Build-type:         Simple
 Tested-with:        GHC==6.8.2
-Build-Depends:      base
+Build-Depends:      base<5 && > 3
 Extensions:         CPP, FlexibleContexts, FlexibleInstances, FunctionalDependencies,
                     KindSignatures, ForeignFunctionInterface,
                     MagicHash, RankNTypes, ScopedTypeVariables, TypeOperators,
diff --git a/Control/Concurrent/LockingBZ.hs b/Control/Concurrent/LockingBZ.hs
--- a/Control/Concurrent/LockingBZ.hs
+++ b/Control/Concurrent/LockingBZ.hs
@@ -156,7 +156,7 @@
                             putMVar mvar ()
                             return result
                         )
-                        (\e -> do tryPutMVar mvar (); throw e)
+                        (\e -> do tryPutMVar mvar (); throw (e :: SomeException))
 
 -- -----------------------------------------------------------------------------
 -- Helper operations - wrappers around 'lock'
