Fix building on GHC 7.6.