fix packaging and set up cross mingw32 cross-compiler