enable use of new libpng