libpng-dev package added as a dependent package for matplotlib. libpng added