hook up the check-libgit2 target

dont run it by default, it fails in MSYS2 because of missing SSL
and symlinks

also switch from cmake --build . to recursive make, so -j works

and allow setting CMAKE location from environment variable