Work around for haskell/cabal#1725

Work around for excessive build dep issue that impacts halvm and probably no other platform.