[telegram-desktop/f25] Use weak dependencies only on Fedora >= 24.