fix run command-line test on linux, fix order of pack files for global
classes, source map packing
Merge remote-tracking branch 'upstream/master'