リンク時に以下を追加する
`python3-config --cflags --ldflags` -fPIC -shared
thread で pybind11 の module を実行しても、multithread にならない。 source に以下を記述する。
OS でデフォルトの python では、リンク時にエラーになる場合がある。 デフォルトでは、python3-config がないので、 Homebrew で python をインストールして、そちらを使う。