[mad-dev] compile MAD on snowleopard