Add platform file for MacOS