Fix gcc versions 4.5 issue based on stiobhan
https://github.com/CFSworks/nvml_fix/issues/3