Fix groups on FreeBSD