add -lcurl in Makefile