[DF-3995] fix osx compile