Made it compilable on OpenBSD