This improves portability of the examples. This patch was submitted to the OpenBSD ports collection by naddy.