s3-waf: fix the build after registry changes.