make sure the mingw can compile successfully.