Update CMakeLists.txt

Make sure directx sdk supports compiler before using it.