Added support of linkage with C++ code