Fixed to work for Haskell Platform 2013.2.0.0