Generic Macro for CPU Count