Add FreeBSD support.
Fix Sysid size.