fork for crosscompiling via mingw on linux