remove some ghc-7.8 unfriendly constraints