ghc: Fix building on Darwin

http://hydra.nixos.org/build/8598783