diff --git a/Trace/Hpc/Reflect.hsc b/Trace/Hpc/Reflect.hsc
--- a/Trace/Hpc/Reflect.hsc
+++ b/Trace/Hpc/Reflect.hsc
@@ -1,8 +1,8 @@
-{-# OPTIONS -fglasgow-exts -cpp #-}
-module Trace.Hpc.Reflect 
+{-# LANGUAGE CPP, ForeignFunctionInterface #-}
+module Trace.Hpc.Reflect
   ( clearTix
   , examineTix
-  , updateTix 
+  , updateTix
   ) where
 
 import Trace.Hpc.Tix
diff --git a/hpc.cabal b/hpc.cabal
--- a/hpc.cabal
+++ b/hpc.cabal
@@ -1,5 +1,5 @@
 name:         hpc
-version:      0.5.0.5
+version:      0.5.0.6
 license:      BSD3
 license-file: LICENSE
 author:       Andy Gill
@@ -26,9 +26,9 @@
     extensions: CPP
     if flag(small_base)
         Build-Depends: base       >= 3   && < 5,
-                       directory  >= 1   && < 1.1,
+                       directory  >= 1   && < 1.2,
                        old-time   >= 1   && < 1.1,
-                       containers >= 0.1 && < 0.4
+                       containers >= 0.1 && < 0.5
     else
         Build-Depends: base < 3
     ghc-options: -Wall
