After 5849a91, this change should not be necessary. If that patch did not fix the shared-library issue on Darwin, then we have to fix this is in the Cabal builder, IMHO, we cannot wrap every single Haskell binary to find its own shared libraries.