fixed bug with curl makefile