Match resource path case insensitively

Sometimes on Windows the drive letter case doesn't seem to be consistent
depending on where the path was obtained from so maybe resource path pattern
case insensitively.