Add example: shared link
Fix Xcode build: add shared linker flags