update for new haskell-platform