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.2.0
+version:             0.0.2.1
 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
diff --git a/test/runTest.hs b/test/runTest.hs
--- a/test/runTest.hs
+++ b/test/runTest.hs
@@ -2,6 +2,7 @@
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE DeriveGeneric #-}
 
 import GHC.Generics (Generic)
