[DF-4399] Fix for build on MacOS.