Add libcurl enable, dependency and build/compile option