Check for  __FreeBSD_kernel__ as per https://lists.debian.org/debian-bsd/2006/03/msg00127.html, fixes #1684
Merge pull request #1698 from cmouse/fix-issue-1684

Check for  __FreeBSD_kernel__ as per https://lists.debian.org/debian-bsd...