Make setgroups(3) function optional