update GAFExample - add linux and mac platform support