Fix fetchgit shared library extension