Mongocxx driver tutorial errors of k_string

I am pretty new to using mongocxx and I have built my driver successfully without errors on Ubuntu (using tarball).

However, when I get to,

bsoncxx::document::element element = view["name"];
if(element.type() != bsoncxx::type::k_string) {
  // Error
std::string name = element.get_string().value.to_string();

I am getting an error of “error: ‘k_string’ is not a member of ‘bsoncxx::v_noabi::type’”