Add C++ support in the build system