Fix curl install option

Curl will not enabled properly without that fix.