[PD] OSX compile problem