Fix win32 error due to compiling in c89 mode