adding --enable-curl configuation to configure.ac