diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,13 +1,13 @@
 #!/usr/bin/env runhaskell
 
--- I usually compile this with "ghc --make -o setup Setup.hs"
-
-import Distribution.Simple(defaultMainWithHooks, defaultUserHooks)
+import Distribution.Simple
 main = do
   putStrLn msg
-  defaultMainWithHooks defaultUserHooks
+  defaultMainWithHooks simpleUserHooks
 
 msg = "This links to the standard c library version of regular expressions.\n\
       \The corresponding c header file is regex.h and there is a chance you\n\
       \will need to edit the end of the regex-posix.cabal file to find the\n\
-      \include directory and/or library.\n"
+      \include directory and/or library.\n\
+      \Alternatively you can try and use flags to the cabal executable to\n\
+      \specify the include and lib directories."
diff --git a/Text/Regex/Posix/Wrap.hsc b/Text/Regex/Posix/Wrap.hsc
--- a/Text/Regex/Posix/Wrap.hsc
+++ b/Text/Regex/Posix/Wrap.hsc
@@ -117,7 +117,7 @@
 import Control.Monad(mapM,liftM)
 import Data.Array(Array,listArray)
 import Data.Bits(Bits(..))
-import Data.Int(Int64) -- need whatever RegeOffset or #regoff_t type will be
+import Data.Int(Int32,Int64) -- need whatever RegeOffset or #regoff_t type will be
 import Foreign(Ptr, FunPtr, nullPtr, mallocForeignPtrBytes,
                addForeignPtrFinalizer, Storable(peekByteOff), allocaArray,
                allocaBytes, withForeignPtr,ForeignPtr,plusPtr,peekElemOff)
diff --git a/regex-posix.cabal b/regex-posix.cabal
--- a/regex-posix.cabal
+++ b/regex-posix.cabal
@@ -1,6 +1,6 @@
 Name:                   regex-posix
 -- Keep the Version below in sync with ./Text/Regex/Posix.hs value getVersion_Text_Regex_Posix :: Version
-Version:                0.94.0
+Version:                0.94.1
 Cabal-Version:          >=1.2
 Build-Type:             Custom
 License:                BSD3
