Fix build for GHC-7.8.2