Adding -G flag to nvcc compiler