fix build for GHC 7.8 RC2