fixing curl library error