Added support for building custom libpng.

Closes #1.
Fixed variable name $VENDORED_LIBPNG.

Closes #1.