Fix Makefile for people which doesn't have a ".git".

Thank's to Markus Stenberg.