[PD] Gem compilation errors