Modification so it compiles on intel CL SDK