Fix up the mac helper scripts a bit