add library support of libcurl to download program package files.