diff --git a/System/EasyFile/Directory.hs b/System/EasyFile/Directory.hs
--- a/System/EasyFile/Directory.hs
+++ b/System/EasyFile/Directory.hs
@@ -1,4 +1,5 @@
 {-# LANGUAGE CPP #-}
+{-# LANGUAGE ScopedTypeVariables #-}
 
 module System.EasyFile.Directory (
     module System.EasyFile.Directory
@@ -34,6 +35,7 @@
   )
 
 import Control.Applicative
+import qualified Control.Exception as E 
 import System.Environment
 
 ----------------------------------------------------------------
@@ -95,7 +97,8 @@
 -}
 
 getHomeDirectory2 :: IO (Maybe FilePath)
-getHomeDirectory2 = (Just . fixPath <$> getEnv "HOME") `catch` \_ -> return Nothing
+getHomeDirectory2 = (Just . fixPath <$> getEnv "HOME") `E.catch` 
+                    \(_ :: E.IOException) -> return Nothing
 
 {- | Returns the pathname of a directory in which application-specific
 data for the current user can be stored.  The result of
diff --git a/easy-file.cabal b/easy-file.cabal
--- a/easy-file.cabal
+++ b/easy-file.cabal
@@ -1,5 +1,5 @@
 Name:                   easy-file
-Version:                0.1.0
+Version:                0.1.1
 Author:                 Kazu Yamamoto <kazu@iij.ad.jp>
 Maintainer:             Kazu Yamamoto <kazu@iij.ad.jp>
 License:                BSD3
@@ -10,11 +10,10 @@
 Category:               System
 Cabal-Version:          >= 1.6
 Build-Type:             Simple
-library
-  if impl(ghc >= 6.12)
-    GHC-Options:        -Wall -fno-warn-unused-do-bind
-  else
-    GHC-Options:        -Wall
+Tested-with:            GHC == 7.6.1
+
+Library
+  GHC-Options:          -Wall
   Exposed-Modules:      System.EasyFile
   Other-Modules:        System.EasyFile.FilePath
                         System.EasyFile.Directory
@@ -24,6 +23,7 @@
     Build-Depends:      Win32, time, directory, filepath
   else
     Build-Depends:      unix, time, directory, filepath
+
 Source-Repository head
   Type:                 git
   Location:             git://github.com/kazu-yamamoto/easy-file.git
