Added some hooks for OpenBSD