Update all examples to work on OSX
Merge branch 'belak-master'