(Menu) Add missing extern C namespaces for C++ builds