Fix OpenBSD compilation failure, inspired by tiny patch from Yoann