First shot at detecting physical cores (e.g. excluding hyperthreading cores)

Note that Linux is not currently supported