Import from libpng 1.6.3