diff --git a/persistable-types-HDBC-pg.cabal b/persistable-types-HDBC-pg.cabal
--- a/persistable-types-HDBC-pg.cabal
+++ b/persistable-types-HDBC-pg.cabal
@@ -1,5 +1,5 @@
 name:                persistable-types-HDBC-pg
-version:             0.0.3.1
+version:             0.0.3.2
 synopsis:            HDBC and Relational-Record instances of PostgreSQL extended types
 description:         This package contains HDBC Convertible instances and
                      Relational-Record persistable instances of PostgreSQL extended types
@@ -50,6 +50,8 @@
                        , relational-query-HDBC
                        , text-postgresql
                        , persistable-types-HDBC-pg
+  if impl(ghc == 7.4.*)
+    build-depends:       ghc-prim == 0.2.*
 
   type:                exitcode-stdio-1.0
   main-is:             runTest.hs
