Make tests compile on GHC 7.4.1.