[packages] python-curl: fix build failure