added a method to find out number of cpu cores for Windows NT