remove outdated *.a and use -lcurl instead