[makefile] Builds on OpenBSD (except onchange)

There is an error pragma located in onchange.c, and kevent is not
implemented yet, so it is OK it not being built, but now, package
compiles on OpenBSD with gcc and pcc.