fix darwin setup