Fixed bug in CURL section for recent versions of CURL