diff --git a/statistics.cabal b/statistics.cabal
--- a/statistics.cabal
+++ b/statistics.cabal
@@ -1,5 +1,5 @@
 name:           statistics
-version:        0.10.4.0
+version:        0.10.4.1
 synopsis:       A library of statistical types, data, and functions
 description:
   This library provides a number of common functions and types useful
@@ -143,6 +143,9 @@
     vector            >= 0.7.1,
     vector-algorithms >= 0.4,
     vector-binary-instances >= 0.2.1
+  if impl(ghc < 7.6)
+    build-depends:
+      ghc-prim
   if impl(ghc >= 6.10)
     build-depends:
       base >= 4
