WIN32/64 cmake fixes for libCURL