Moving cflags out of constructor for CudaBackend.