Missing dynamic library: jpeg and tiff for py2app

issue4328
Optimize py2exe

Exclude unused tcl/Tk

issue4355
Exclude some dll embeded when building on windows7

issue4356