Report #cores for linux (untested) and windows.