Fix a compile error reported by masaykh (affects cygwin/mingw gcc 4.8.1).