diff --git a/Config/Dyre/Options.hs b/Config/Dyre/Options.hs
--- a/Config/Dyre/Options.hs
+++ b/Config/Dyre/Options.hs
@@ -27,10 +27,11 @@
   , getStatePersist
   ) where
 
-import Data.List          (isPrefixOf)
-import Data.Maybe         (fromJust)
-import System.IO.Storage  (withStore, putValue, getValue, getDefaultValue)
-import System.Environment (getArgs, getExecutablePath, getProgName, withArgs)
+import Data.List                     (isPrefixOf)
+import Data.Maybe                    (fromJust)
+import System.IO.Storage             (withStore, putValue, getValue, getDefaultValue)
+import System.Environment            (getArgs, getProgName, withArgs)
+import System.Environment.Executable (getExecutablePath)
 
 import Config.Dyre.Params
 
diff --git a/Config/Dyre/Paths.hs b/Config/Dyre/Paths.hs
--- a/Config/Dyre/Paths.hs
+++ b/Config/Dyre/Paths.hs
@@ -4,7 +4,7 @@
 import System.FilePath                ( (</>), (<.>), takeExtension )
 import System.Directory               (getCurrentDirectory, doesFileExist, getModificationTime)
 import System.Environment.XDG.BaseDir (getUserCacheDir, getUserConfigDir)
-import System.Environment             (getExecutablePath)
+import System.Environment.Executable  (getExecutablePath)
 import Data.Time
 
 import Config.Dyre.Params
diff --git a/Tests/allTests.sh b/Tests/allTests.sh
--- a/Tests/allTests.sh
+++ b/Tests/allTests.sh
@@ -7,7 +7,6 @@
     TEST_RESULT=`./runTest.sh`
     if [ "$TEST_RESULT" != 'Passed' ]; then
         echo "$TEST_RESULT in test $TESTDIR"
-        rm -r working
         exit 1
     fi
     cd ..
diff --git a/dyre.cabal b/dyre.cabal
--- a/dyre.cabal
+++ b/dyre.cabal
@@ -1,5 +1,5 @@
 name:          dyre
-version:       0.8.9
+version:       0.8.10
 category:      Development, Configuration
 synopsis:      Dynamic reconfiguration in Haskell
 
@@ -43,7 +43,7 @@
                    Config.Dyre.Relaunch
   build-depends:   base >= 4 && < 5, process, filepath,
                    directory, ghc-paths, time, binary,
-                   xdg-basedir, io-storage
+                   executable-path, xdg-basedir, io-storage
 
   if os(windows)
       build-depends: Win32
