[DF-3167] Added new version of curl library. Fixed build scripts.