get CPU-count on OSX & w32