Template Fixes

Simple template fixes and additions.

  - Fixed syntax error #ifdef.
  - Added Windows desktop DirectX template.