[PD-dev] Trouble compiling under OSX