Fix compilation for old compute cap.