ghc: build the compiler with for MacOS X deployment target 10.5

Without this setting, ld complains about use of -rpath. Further details can be
found at <https://github.com/NixOS/nixpkgs/issues/1157>.