Make -match option work on Windows