fixed compilation of git