Resolve a few kfreebsd build issues. (dm)