Fix curl/wget detection. Fixes #478
1 file changed