FreeBSD 10 compatibility.