patch applied (cabal-install): Rearrange the symlinking code slightly