[DF-4580] Fixed build for mac