让cmake支持生成mingw下的Makefile.

Signed-off-by: Jack <jack.wgm@gmail.com>