Fix build with 7.8.

        See https://ghc.haskell.org/trac/ghc/ticket/8053 details.
Merge pull request #1 from jkarni/master

Fix build with 7.8.