nvcc compatibility fix for kappa koehler