integrate packunused into the build process