Recent curl versions do not have a file types.h. To fix it, remove the line #include <curl/types.h> from the files src/mgr/curlhttpt.cpp and src/mgr/curlftpt.cpp in the tarball for 1.6.2