Fixed "libpng: bad parameters to zlib" error on Linux by adding option to
compile using the system-provided libpng library.