Fix build with 7.8.

        See https://ghc.haskell.org/trac/ghc/ticket/8053 details.