Update for newer ghc

- Update for newer ghc.
- Also could you upload this to hackage?