[clean] use correct way to determine processor count.