Fixed libpng compilation