[PD] expr compatibility with libdir format