add support for debian squeeze in CUDA and warnings

as discussed.

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>