Patch to allow passing extra NVCCFLAGS to configure through the NVCCFLAGS shell variable. See configure --help