Fix openbsd compilation