fix: support GHC 7.8