win32_capture.c: Fix exclusion when capture path ends in slash