ensure `build autoload` has the same output on windows and unix

- make sure `build autoload` produces the same output on both Windows and Unix platforms (findFiles() turns out to produce a mix of \ and / delimited paths which corrupts the sort order on Windows)

- run `build autoload` to verify that the patch works.

close #3582, close #3583