Fix compilation on Haskell 2010.