Fix compilation with i686-w64-mingw32-gcc

This patch is required to let the mingw-w64 compiler work. I tested with other Windows-based gcc compilers and Ubuntu. Could someone please test other distos, before I push this.

Based upon https://github.com/vim-jp/ctags