Historically since 8.0-RELEASE many function of build.subr were overridden
by custom build.subr in release dir. For last two major releases this ended
in copying build.subr from previous release.
Try to stop this practice, adjusting global build.subr to modern state and
do not use custom build.subr's.
Switch to sha512.