[Build] Fix the pre-commit hook