Check for libpng.