configure, plug-ins: make libpng a hard dependency