cart build: post-process new packages in single sed script
build: post-process package db to make libraries portable