fix postgres after Yosemite upgrade