Fix build for some kde@ ports with GCC-based architectures
PR: 233451 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>