[DF-5414] Fixed curl compilation flags.