Fix build for GHC 7.10