matplotlib issue fix

Added a couple of missing libraries needed for matplotlib installation on soolin, picked them up from CMSSW. This is specific to a set of CMSSW versions, but should be ok for a while. When it breaks, one will have to update the library and include paths to the newer once. Or, perhaps, libpng and freetype will be installed on all machines by then.