OpenBSD support

generate_keys.sh won't work without tweaking, but I'm not planning on running a master on OpenBSD, so I won't touch it for now.