Fix build under GHC 7.8.