[PD] Errors building PD from source