Migrate to the new build script