Could you please also use function collect_submodules to get even the '_cffi_' modules?
- collect_submodules should include even 'pyd' and 'so'
- you could filter the result to contain only _cffi_* files
- pyinstaller should then add .pyd files automatically to the dependencies as 'BINARY'
- you could then drop the whole 'hook(mod)' function