Fix build with GCC-based architectures.
PR: 235156 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Approved by: pi