On macos, the name of dynamic libraries is a little bit different than on Unix.
The code was looking for a `libnotmuch.so.5` library, while on macos
it's installed as `libnotmuch.5.dylib`.
This commit uses cfg attribute to conditionally change the library name.
This pull request can be merged automatically.
You are not authorized to merge this pull request.