fix mshadow nvml