fix #3582

- 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.