Switch from using "windres" to "i686-w64-mingw32-windres" to make it easier to set up a development environment. Both versions of windres are freely available from cygwin, but the HOWTO-BUILD.TXT says that only the mingw64-i686-gcc-g++ package is required, so it's wrong to use the windres from the "gcc" package.