More accurate deb package build fix for CUDA 6.5 and newer.