Add missing dependencies
Fix #4460