When cross-compiling to GNU targets, static libraries are properly created. Previously, using such libraries resulted in Archive has no index error.

The naming of DLL and import libraries with gcc compiler on Windows, both mingw and cygwin, now matches default conventions of those environments. Previously, the naming scheme was the same as for other Windows compilers.