windres uses unsigned long for writing 32-bit little-endian integers. This breaks cross tools on x86_64 and/or bigendian hosts. Reported upstream.
Приложен hackaround, для little-endian хватит.