Add text as a Cabal build dependency, for GHC 7.6.2

I needed this change in order to build with GHC 7.6.2 on my Mac.