Fix make examples for windows.
Merge pull request #223 from matthieudumont/fix_makeexamples_windows

Fix make examples for windows.