More libcurl makefile fixes