Fix build under GHC 7.4.

I don't have and don't use GHC 7.4, but travis CI still uses this version. I believe this patch should fix CI.