update mac example.

Tested only on a 10.9.3 mac