On the clustering phase transition in self-gravitating N-body systems