add configure for c and c++