The reason is that in Windows the single quotes are not a valid delimiter for the nested command. But double quotes are valid in both Windows and Linux, so this can be fixed by replacing the line with ...