Fix support for GHC 7.4.