Adds support for OpenBSD and INITFILE define

Tested on OpenBSD -current amd64. All tests pass.