Resolve more compiler warnings on FreeBSD.