add C++ dependency