Improved build process for package releases