Build libgit2 with -fPIC and debug info