removed duplicate typedef.
Set compiler symbol indicating an older libpng version.