Try uising pybind11_extension_module() again after there's a new upstream release (see https://github.com/pybind/pybind11/pull/2793)