Add example: shared link
Fix Xcode build: add static/shared linker flags
Merge branch 'update' into update.linux