Set up mac env