Compile problem, using instance inside class, maybe C vs C++ linkage