fix BasicGpuDemo compilation