Move shared-library example sources into examples/