Fix the mac build broken by e48052ee83a79eb4cc77c64a7e25741ae67a83b5.