modify helloworld for mac platform