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

Patch by Guy Benyei!