Fix build on gcc-based architectures. PR: 236695 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Approved by: portmgr (joneum@)