clone: fix url encoding

and do not clone hidden files (.*)
fix libcurl in autoconf