[PD] Compiling PD externals