diff --git a/httpd-shed.cabal b/httpd-shed.cabal
--- a/httpd-shed.cabal
+++ b/httpd-shed.cabal
@@ -1,5 +1,5 @@
 Name:           httpd-shed
-Version:        0.4.1.1
+Version:        0.4.1.2
 License:        BSD3
 License-File:   LICENSE
 Author:         Andy Gill, Brandon Moore, Henning Thielemann, John Van Enk.
@@ -13,7 +13,7 @@
 Maintainer:     Ganesh Sittampalam
 Copyright:      (c) 2009 Andy Gill
 Build-Type:     Simple
-cabal-version:  >= 1.6
+cabal-version:  >= 1.10
 
 Source-Repository head
   Type:        git
@@ -32,6 +32,7 @@
    default: True
 
 Library
+  default-language: Haskell2010
   if flag(network-uri)
      build-depends: network-uri >= 2.6, network >= 2.6
   else
@@ -51,7 +52,9 @@
 
 -- Trivial test; we need real tests!
 Executable httpd-shed-test
+  default-language: Haskell2010
   If !flag(buildExamples)
     Buildable: False
+  build-depends: base, httpd-shed, network, network-uri, network-bsd
   Main-Is:        Main.hs
-  Hs-Source-Dirs: ., test
+  Hs-Source-Dirs: test
