Use default CURL timeout
Switch build system from makefile to cmake