Added platform intializer for mac