Fixed build_packages rule