Fix CC error: okapi_bm25.c:32: error: 'for' loop initial declarations are only allowed in C99 mode