Fixed directs examples to only build in Windows
Merge branch 'feature/optional-build-directx-samples' into merge-test

* feature/optional-build-directx-samples:
  Fixed directs examples to only build in Windows