Miscellaneous clean-ups

Remove unused variables to silence '-Wall' and update gitignore to ignore autotools files.