Fix build on gcc-based architectures.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)