diff --git a/shelly.cabal b/shelly.cabal
--- a/shelly.cabal
+++ b/shelly.cabal
@@ -1,6 +1,6 @@
 Name:       shelly
 
-Version:     0.5.0
+Version:     0.5.1
 Synopsis:    shell-like (systems) programming in Haskell
 
 Description: Shelly is a package provides a single module for convenient
@@ -31,8 +31,10 @@
 Library
   Exposed-modules:     Shelly
 
-  Build-depends: base >= 4 && < 5, time, directory, mtl, process, text, unix-compat
-               , system-filepath, system-fileio
+  Build-depends: base >= 4 && < 5, time, directory, text, mtl, process
+               , unix-compat < 0.4
+               , system-filepath < 0.5
+               , system-fileio < 0.4
 
   ghc-options: -Wall
 
