diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -27,4 +27,5 @@
 ```
 $ sudo apt-get install postgresql-VERSION
 $ echo "export PATH=$PATH:/usr/lib/postgresql/VERSION/bin/" >> /home/ubuntu/.bashrc
+$ cabal install tmp-postgres
 ```
diff --git a/src/Database/Postgres/Temp/Internal.hs b/src/Database/Postgres/Temp/Internal.hs
--- a/src/Database/Postgres/Temp/Internal.hs
+++ b/src/Database/Postgres/Temp/Internal.hs
@@ -16,7 +16,7 @@
   localhost <- inet_addr "127.0.0.1"
   bind s (SockAddrInet aNY_PORT localhost)
   listen s 1
-  fromIntegral <$> socketPort s
+  fmap fromIntegral $ socketPort s
 
 waitForDB :: FilePath -> Int -> IO ()
 waitForDB mainDir port
diff --git a/test/Database/Postgres/Temp/InternalSpec.hs b/test/Database/Postgres/Temp/InternalSpec.hs
--- a/test/Database/Postgres/Temp/InternalSpec.hs
+++ b/test/Database/Postgres/Temp/InternalSpec.hs
@@ -49,7 +49,7 @@
               Right x  -> return x
               Left err -> error $ show err
       conn <- connectPostgreSQL $ BSC.pack $ connectionString db
-      execute_ conn "create table users (id int)"
+      _ <- execute_ conn "create table users (id int)"
 
       stop db `shouldReturn` ExitSuccess
       doesDirectoryExist mainFilePath `shouldReturn` False
diff --git a/tmp-postgres.cabal b/tmp-postgres.cabal
--- a/tmp-postgres.cabal
+++ b/tmp-postgres.cabal
@@ -1,5 +1,5 @@
 name:                tmp-postgres
-version:             0.1.0.5
+version:             0.1.0.6
 synopsis: Start and stop a temporary postgres for testing
 description:
  This module provides functions greating a temporary postgres instance on a random port for testing.
@@ -37,7 +37,7 @@
   hs-source-dirs:      src
   exposed-modules: Database.Postgres.Temp
                  , Database.Postgres.Temp.Internal
-  build-depends: base >= 4.7 && < 5
+  build-depends: base >= 4.6 && < 5
                , temporary
                , process
                , unix
@@ -60,7 +60,7 @@
                      , process
                      , postgresql-simple
                      , bytestring
-  ghc-options:        -Wall -Wno-unused-do-bind -threaded -rtsopts -with-rtsopts=-N
+  ghc-options:        -Wall -threaded -rtsopts -with-rtsopts=-N
   default-language:    Haskell2010
 
 source-repository head
