Some modifications to use an alternate compiler as CUDA does not yet support anything more than gcc 4.6.  Also in reality i'd recommend renaming nvcc to something like nvcc-bin and creating a script for nvcc that adds the alternate compiler tree.