fix ghc versions/ template HS issues.