add libpng dependency