Fix build for libevent1.

Debian 6.0.x and CentOS 6.5 both ship with that ancient thing, and also
use a similarly aged autoconf.
sar: Fix compilation with gcc 4.4's overactive strict aliasing.
.gitignore: Add patterns to support an in-tree build.