Adjust configure.ac to be compatible with automake 1.14

Also add two new .gitignore entries