various updates mainly for OpenBSD