[PD-dev] Mac OS X Pd.app build fixes