Made libgit2 compile work with SSH, and changed default compilation options to our current preference (no SSH, statically linked)
Removed unnecessary duplication of ROOTDIR definition