test: case insensitve path comparison on Windows

Windows needs case insensitive comparison when it comes to
path strings.