handle case where cores not visible in /proc/cpuinfo