Fix some more build bugs exposed by the addition of the ghc dependency to dph