Add some OpenBSD build support (thanks to 0xdeadbabe for suggestions)