apply fixes on PNGMerge.exe