fix path matching for mixed case differences on Windows
add support for input glob patterns