Fix CPUCounter on Windows (closes #192)