Changed all places to get it compile with C89 (tested with MSVC 2008).

Sorry for the quick commit where I only changed one location. I did not test it with an old compiler.