Fix some automake/conf stuff, remove autogenerated files.