Build fix for FreeBSD.