[PD] Compiling PD