Updating mksprite to support libpng 1.6