remove png_longjmp (only available libpng >= 15.0)
don't use O_NONBLOCK flag for stdin
change CFLAGS
remove --tmpdir option