Fixed C++ generating library.