Fix gcc build.

Sponsored by:	The FreeBSD Foundation
MFC after:	13 days