Modified C++ generator for custom option 'externc'.