add platform-mac