Add code to improve FreeBSD support.