Added missing dependency for SDL Fixes #25698

Fixes #25698
Related to #24142