Fix build with GHC 7.8 RC1