Added dependencies on libcurl and libpng