Fix build on recent autotools
Added gitignore