Fix build failure on GHC 7.4 base