silence warning for ancient libc users&devs :)

string.h 'index' is a global declaration
marked legacy in 2001 and removed in posix.1-2008