plotutils: fix BUILD & compile with modern libpng