diff --git a/56.patch b/56.patch
deleted file mode 100644
--- a/56.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From c069ea587e52c435b4903271f3f9e287e9afe4a4 Mon Sep 17 00:00:00 2001
-From: Diogo Biazus <diogob@gmail.com>
-Date: Thu, 11 Feb 2016 10:37:03 -0500
-Subject: [PATCH] Adds stack.yml and section about how to build using it to
- README.
-
----
- README.md  |  5 +++++
- stack.yaml | 35 +++++++++++++++++++++++++++++++++++
- 2 files changed, 40 insertions(+)
- create mode 100644 stack.yaml
-
-diff --git a/README.md b/README.md
-index 0ec8444..a144e51 100644
---- a/README.md
-+++ b/README.md
-@@ -82,6 +82,11 @@ it will log in when making (most) API requests.
- Anyway, github-backup *does* do an incremental backup, picking up where it
- left off, so will complete the backup eventually even if it's rate limited.
- 
-+## Contributing
-+
-+Besides the cabal instalation you can also use [stack](https://www.stackage.org) to build from sources.
-+Once you have stack installed just type ```stack build``` in the repo root directory.
-+
- ## Author
- 
- github-backup was written by Joey Hess <joey@kitenet.net>
-diff --git a/stack.yaml b/stack.yaml
-new file mode 100644
-index 0000000..80a6239
---- /dev/null
-+++ b/stack.yaml
-@@ -0,0 +1,35 @@
-+# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html
-+
-+# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
-+resolver: lts-5.2
-+
-+# Local packages, usually specified by relative directory name
-+packages:
-+- '.'
-+
-+# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
-+extra-deps: []
-+
-+# Override default flag values for local packages and extra-deps
-+flags: {}
-+
-+# Extra package databases containing global packages
-+extra-package-dbs: []
-+
-+# Control whether we use the GHC we find on the path
-+# system-ghc: true
-+
-+# Require a specific version of stack, using version ranges
-+# require-stack-version: -any # Default
-+# require-stack-version: >= 1.0.0
-+
-+# Override the architecture used by stack, especially useful on Windows
-+# arch: i386
-+# arch: x86_64
-+
-+# Extra directories used by stack for building
-+# extra-include-dirs: [/path/to/dir]
-+# extra-lib-dirs: [/path/to/dir]
-+
-+# Allow a newer minor version of GHC than the snapshot specifies
-+# compiler-check: newer-minor
diff --git a/CHANGELOG b/CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+github-backup (1.20160511) unstable; urgency=medium
+
+  * Fix build with directory-1.2.6.2.
+  * github-backup.cabal: Add Setup-Depends.
+
+ -- Joey Hess <id@joeyh.name>  Wed, 11 May 2016 13:12:12 -0400
+
 github-backup (1.20160319) unstable; urgency=medium
 
   * Update to github-0.14.1.
diff --git a/Utility/Directory.hs b/Utility/Directory.hs
--- a/Utility/Directory.hs
+++ b/Utility/Directory.hs
@@ -6,12 +6,15 @@
  -}
 
 {-# LANGUAGE CPP #-}
-{-# OPTIONS_GHC -fno-warn-tabs #-}
+{-# OPTIONS_GHC -fno-warn-tabs -w #-}
 
-module Utility.Directory where
+module Utility.Directory (
+	module Utility.Directory,
+	module System.Directory
+) where
 
 import System.IO.Error
-import System.Directory
+import System.Directory hiding (isSymbolicLink)
 import Control.Monad
 import System.FilePath
 import Control.Applicative
@@ -134,11 +137,13 @@
 				_ <- tryIO $ removeFile tmp
 				throwM e'
 
+#ifndef mingw32_HOST_OS	
 	isdir f = do
 		r <- tryIO $ getFileStatus f
 		case r of
 			(Left _) -> return False
 			(Right s) -> return $ isDirectory s
+#endif
 
 {- Removes a file, which may or may not exist, and does not have to
  - be a regular file.
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+github-backup (1.20160511) unstable; urgency=medium
+
+  * Fix build with directory-1.2.6.2.
+  * github-backup.cabal: Add Setup-Depends.
+
+ -- Joey Hess <id@joeyh.name>  Wed, 11 May 2016 13:12:12 -0400
+
 github-backup (1.20160319) unstable; urgency=medium
 
   * Update to github-0.14.1.
diff --git a/github-backup.cabal b/github-backup.cabal
--- a/github-backup.cabal
+++ b/github-backup.cabal
@@ -1,5 +1,5 @@
 Name: github-backup
-Version: 1.20160319
+Version: 1.20160511
 Cabal-Version: >= 1.8
 Maintainer: Joey Hess <joey@kitenet.net>
 Author: Joey Hess
diff --git a/github-backup.tmp/Administr8Me_github-backup/stargazers b/github-backup.tmp/Administr8Me_github-backup/stargazers
deleted file mode 100644
--- a/github-backup.tmp/Administr8Me_github-backup/stargazers
+++ /dev/null
@@ -1,1 +0,0 @@
-[]
diff --git a/github-backup.tmp/Administr8Me_github-backup/watchers b/github-backup.tmp/Administr8Me_github-backup/watchers
deleted file mode 100644
--- a/github-backup.tmp/Administr8Me_github-backup/watchers
+++ /dev/null
@@ -1,1 +0,0 @@
-[]
