diff --git a/Pathfinder.cabal b/Pathfinder.cabal
--- a/Pathfinder.cabal
+++ b/Pathfinder.cabal
@@ -1,5 +1,5 @@
 Name:                 Pathfinder
-Version:              0.4
+Version:              0.4.1
 Synopsis:             Relational optimiser and code generator
 Description:
   The library provides FFI bindings to the Pathfinder relational optimiser and
@@ -31,8 +31,8 @@
 
 Library
   Build-depends:      base        >= 4.2 && < 5,
-                      text        >= 0.10,
-                      bytestring  >= 0.9.1.7
+                      text        >= 0.11,
+                      bytestring  >= 0.9
   Hs-source-dirs:     src
   GHC-options:        -Wall -O3
   Include-dirs:       include
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -63,8 +63,8 @@
   let script = [ "rm -r -f pathfinder"
                , "tar xzf pathfinder.tar.gz"
                , "cd pathfinder"
-               , "export CFLAGS=' " ++ cflags ++ " -fPIC -fno-jump-tables'"
-               , "sh configure --prefix=`pwd` --enable-static --disable-shared --with-pic"
+               , "export CFLAGS=' " ++ cflags ++ " -fno-jump-tables '"
+               , "sh configure --prefix=`pwd` --enable-static --disable-shared"
                , "make"
                , "make install"
                , "cd lib"
