Do not use PNG_INTERNAL
Fix two pedantic warnings