added macos as platform