Mac support for ApplicationLib in Examples