change darwin dir to include arch