Once again added macos flags