Minor tweaks to compile on OpenBSD

Thank you to Ryan Freeman for these!