Autoconf cleanups

This is just like https://github.com/nark/libwired/pull/2 but for Wire.