Use Windows NUMBER_OF_PROCESSORS for Cygwin