Updated .gitignore and Makefile.common