The max path length on Windows is well known, besides the workaround, we still use short_paths attribute to avoid such cases where a package name is too long and the package folder can pass Windows max path.
Some suggestions:
When the package name is long (more than 12 characters), short_paths should be considered due the user name over C:/Users
If include folder are part of this limitation, check after package step, if the include folder path exceeded max path length
The max path length on Windows is well known, besides the workaround, we still use short_paths attribute to avoid such cases where a package name is too long and the package folder can pass Windows max path.
Some suggestions: