Adds new dependencies (Issue #17803)

This fixes bug #17803 for me. I added the dependencies which seem to be necessary for building.