handle no gid being passed in
don't compare on Windows