Make it compilable with GHC HEAD (v7.9)

See ghc bug #8883 and related discussion http://www.haskell.org/pipermail/ghc-devs/2014-June/005180.html
Merge pull request #1 from ggreif/patch-1

Make it compilable with GHC HEAD (v7.9)