Fix warnings when compiling on MS-Windows with -std=gnu99.