Fix build on GCC-based architectures.
PR: 232078 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)