The script builder addon does not detect duplicate scripts on Windows.
If the same script is added multiple times, but with differing case, it will add the same file again.
The cause is in CScriptBuilder::IncludeIfNotAlreadyIncluded, it uses a case sensitive search in the script map.
Using a case insensitive std::less replacement should suffice here.