Fix compiler warnings when in C99 standards mode