Update to libpng 1.2.50, add parameter to batch files to accept a build target (like "build-windows.bat png")

This update may not have been necessary (investigating interlaced PNG support) but may as well commit it now that its done