Fixed cores counting by hyper-threading detection.