More reliably link libpng for tutorials