Fix license header check not passing on Windows

In the recent change to check for the license headers during the build configuration the array of files excluded from this check were compared without accounting for the Windows backslash file separator. This was causing issues with the build so I have just changed this check to use normalized paths.