fix cpu info outofrange error on darwin.