Update FindDirectX.cmake

Make DIRECTX_SDK_SUPPORTS_COMPILER always available.
Update CMakeLists.txt

Make sure directx sdk supports compiler before using it.