lib: fixing tests programs of curl

Signed-off-by: Matthieu Lucas <lucasmatthieu@gmail.com>