static pie: fix building static PDE