ghc on darwin: second attempt to fix build

Tested not to affect hash on linux.