add macos build script