r-curl: fix build