fix compilation failure on OpenBSD with system supplied GNU C 4.2.1