modify for winrt and wp8 libcurl.