Fix build on gcc-based archs.
PR: 231464 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)