relax text constraint for Haskell Platform 2013.2.0.0 compatibility