ghc: build the compiler with "MACOSX_DEPLOYMENT_TARGET=10.5" set

Without this environment variable, ld complains about use of -rpath.
See <https://github.com/NixOS/nixpkgs/issues/1157> for further details.