I got it sorted by myself in the meantime. I had version 7.9.8 of CurlLib installed. I upgraded to 7.16.0 and everything compiled just fine. Why didn't the configure script check for this version dependency of CurlLib?