Another fix for CPU cores detection.