[libclang] Fix a test and a warning on windows.

Patch by Guy Benyei!

llvm-svn: 176806
2 files changed