Move threads::shared from ext/ to dist/