ghc-head: fix build