Try to fix the building 'git log' issue.