[PD] Using C++ sources for externals