lib: Fixing tests programs of curl

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