Ensure `png_libpng_ver` is defined

Removing the line

~~~ c++
#define PNG_NO_EXTERN
~~~

will ensure that the array `png_libpng_ver` is defined.