Attempt to solve building snowleopard

re #6175