Fix compile failure with no-srp