Make examples/status.c compile on Windows
Make ** pattern eat trailing slash

This allows "foo/**/*.html" to match "foo/file.html"
Merge pull request #2320 from libgit2/rb/fix-starstar-again

Make ** pattern eat trailing slash
Merge pull request #2318 from linquize/sleep

Make examples/status.c compile on Windows
Temporary fix for Travis CI builds

See https://github.com/libgit2/libgit2/pull/2321#issuecomment-42039673
We may rollback once we found something more reliable