Automake modifications and .gitignore