Small fixes for Mac
Update examples for Mac