lib/curl: clean up surperfluous types

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>