Changed two Makefile.in's for explicite linking to libpng and libjpeg