Fix for old curl
Merge pull request #1 from ytomino/for-pull-request

configure fixes for old curl (7.19.7)