Added a patch for pnghanler.c for modern libpngs