Remove dead function build_package.