Added temporary fix for mac compilation.