added libpng flag to makefile