Add basic support for C++ file to the autotools build.