fix compilation when DANE is disabled.