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