Fix compilation when ALLOW_UAC is not defined