Fix compilation error in PR #4086