patch applied (cabal): Change mkLibName and friends to take a package id and not take the dir