[9.16] Fix DNSRPS builds
Backport of !7450 (merged)
Commit 183cd1bb was excluded from this backport as the problem it addresses does not affect v9.16.
Closes #3827 (closed)
Edited by Michał Kępień
Backport of !7450 (merged)
Commit 183cd1bb was excluded from this backport as the problem it addresses does not affect v9.16.
Closes #3827 (closed)