[telegram-desktop] Backported upstream build fix.