Enable linking with ObjC++ tests.

An `extern "C"` is required for C functions to be accessible from `.mm` files.