fixed compilation on OpenBSD 5.0
added configure script and all its friends...
OpenBSD 5.3 support
Merge branch 'openbsd50' into with_config