Fix Mac compilation settings.