Fixed makefile to automatically install the git hooks (to acquire the git commit id) on the first make after newly cloning a repository