[PD] Segmentation faults and compiling newest GEM on OSX