ghc-7.4.2: fix build on recent versions of Darwin
ghc-7.8.1: fix build on recent versions of Darwin
ghc-HEAD: fix build on recent versions of Darwin