fix missing dependency, fixes #17650
(cherry picked from commit 5abf90946316778cd73ca9d7c5eb5f1d28379905)