fix to createCPUStat for older kernels