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