adding libcurl dependency