Avoid a divide by zero error on non-Core i cpus.

Also support Linux and, why not, Android too.
Merge pull request #4233 from unknownbrackets/cpudetect

Avoid a divide by zero error on non-Core i cpus.