build on ghc-7.6.1