Previous commit unbroke on powerpc64.
While here, fix typo in other error message.
Approved by: portmgr (tier-2 blanket)