Add a C to C++ linking test

This tests the ability to link between C and C++ code using
pconfigure.  I should probably test linking between other languages as
well, but I think this is OK for now...