Revamped the rebuild process and made it reproducible without a custom tarball