[PD] compiling external in linux