Mac OS X patch from @jaspervdj
Cabal 1.18