Added curl and JSONcpp support