Could you please add a small test exercising this and ensuring that at least `Threads`  and `Https` are supported?

This should help us quickly ensure that each PR upgrading the libgit2 binaries embeds dlls that have been compiled with the correct flags.