Bailout early if not enough args have been specified.
Initialize the thread subsystem of libgit2.

The ssl functionality depends on it.
Disable ssh and thread safeness when compiling libgit2.

Some of these flags are necessary when compiling more recent versions
of libgit2.
List only one cmake option per line.