Remove dependency from libpng