various packages: enable/modify mingw-w64 build