fix build with GCC-based architectures
PR: 237155 Submitted by: Piotr Kubaj <pkubaj [...] anongoth.pl>