Missing Extern C for C++ Code