[MacPlatform] Mark struct as unsafe.