Fix Makefile dependencies, for parallel compilation.
Fix Makefile for people which doesn't have a ".git".

Thank's to Markus Stenberg.