Improving configure.ac to build on OpenBSD