diff --git a/System/Unix/Chroot.hs b/System/Unix/Chroot.hs
--- a/System/Unix/Chroot.hs
+++ b/System/Unix/Chroot.hs
@@ -1,4 +1,5 @@
 {-# LANGUAGE ForeignFunctionInterface #-}
+{-# LANGUAGE CPP #-}
 -- | This module, except for useEnv, is copied from the build-env package.
 module System.Unix.Chroot
     ( fchroot
@@ -45,7 +46,11 @@
 fchroot :: (MonadIO m, MonadMask m) => FilePath -> m a -> m a
 fchroot path action =
     do origWd <- liftIO $ getWorkingDirectory
+#if MIN_VERSION_unix(2,8,0)
+       rootFd <- liftIO $ openFd "/" ReadOnly defaultFileFlags
+#else
        rootFd <- liftIO $ openFd "/" ReadOnly Nothing defaultFileFlags
+#endif
        liftIO $ chroot path
        liftIO $ changeWorkingDirectory "/"
        action `finally` (liftIO $ breakFree origWd rootFd)
diff --git a/Unixutils.cabal b/Unixutils.cabal
--- a/Unixutils.cabal
+++ b/Unixutils.cabal
@@ -1,12 +1,12 @@
 Name:           Unixutils
-Version:        1.54.2
+Version:        1.54.3
 License:        BSD3
 License-File:	COPYING
 Author:         Jeremy Shaw, David Fox
 Homepage:       https://github.com/seereason/haskell-unixutils.git
 Category:	System
 Synopsis:       A crude interface between Haskell and Unix-like operating systems
-Maintainer:     jeremy@n-heptane.com
+Maintainer:     David Fox <ddssff@gmail.com>
 Description:
  A collection of useful and mildly useful functions that you might
  expect to find in System.* which a heavy bias towards Unix-type operating systems.
@@ -16,7 +16,7 @@
 Library
     Default-Language: Haskell2010
     Build-Depends:
-      base >= 4 && <5,
+      base >= 4.6 && <5,
       bytestring,
       directory,
       exceptions,
@@ -28,7 +28,6 @@
       regex-tdfa,
       unix,
       zlib
-    ghc-options:	-O2
     Exposed-modules:
         System.Unix.Chroot,
         System.Unix.Crypt,
