Fix build on 8-i386 and 9-i386.

Patch obtained from the FreeBSD Forum.