Compile native GCC plugin with the C++ compiler.

- Fixes an undefined symbol warning with GCC 4.7.2 on Linux.