Fix gtags don't add after build issue.