fix missing dependency, fixes #17221
(cherry picked from commit 726de2d02ebf46b06d7fcd5946f57375f41172a8)