Ensure built binaries names match with resources

Ensure that future changes to libgit2 CMakeLists.txt do not cause regressions regarding name and content of resources.