Resolve compiler warning on FreeBSD.