adapt to ghc 7.6
relaxed build constraints