Fix linking on OpenBSD

This commit let's chef_certgen correctly link on OpenBSD.