Fix hard-coded paths in CUDA routines.

I'm not happy with this extra macro, but at least there's only one of
them instead of hard-coded paths all over the place. Ideally, the path
would be passed along from Fortran, but I'm not sure of the code flow to
be able to do that just yet.