Adapt to psutil interface change.