Add autoconf macros that might not be installed with a usual autotools setup

As per my comment https://github.com/LibVNC/libvncserver/pull/38#issuecomment-58178657, this implements solution b). We could still got for a) if we'd like to...