adding user agent in curl calls for downloading dependency