Change-Id: I75e24f15129973cee15fc9dac65d678bd2172074
Fix the test so that it works on nvcc path as well.