Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.
Fix T39757: missing cuda libary on linx, now also try to find libcuda.so.1.

I'm not sure this should be needed, but some particular systems don't have
libcuda.so so we do this now.

pyrochlore/cycles,tangent-opensource/coreBlackbird,pyrochlore/cycles,tangent-opensource/coreBlackbird,pyrochlore/cycles,tangent-opensource/coreBlackbird