Added always run autogen.sh for libpng in Makefile.
Patch in previous commit was very bad. Use this instead.