Adapt to new syntax of stronglyConnectedComponents