prepare for visual studio compatibility

- strictly use C89 (VS doesn't support C99)
- use real tab stop width of 4