link static in mingw