Compatibility with haskell-platform 2014.2