Fix newly introduces broken builds on darwin