[Toolkit.Samples] Fix compilation issues on desktop