Generalize CURL pkg-config settings for both linux and windows with error detection.
Generalize CURL pkg-config settings for both linux and windows with
error detection.

NeblioTeam/neblio,NeblioTeam/neblio,NeblioTeam/neblio,NeblioTeam/neblio,NeblioTeam/neblio