s3:build: improve the check for a working krb5-config.