Fixed an issue with the mac compilation target.