Attempt to fix build on non-x86 archs. Untested, but does no harm on x86.
Approved by: portmgr (tier-2 blanket)