Merge pull request #199 from dgrove-oss/hwconfig-respect-affinity

consider affinity when computing active cpus on Linux