Avoid for loop initial declarations

I prefer to use gnu99 to solve the build.