update mac example.

Tested only on a 10.9.3 mac, it should work on others versions of mac.

Need to add coreMIDI.framework to the mac project. I have no idea how to add it to the XML file.