Updated mac dist script