Fix cmake MingW static linking
Fix cmake MingW static linking

Summary: This seems to be somewhat of a hack, but ensures the binary is (mostly) statically linked and requires no MingW or built libraries.

Reviewed By: minjang

Differential Revision: D22830876

fbshipit-source-id: fe44f2243e4f2b61ecc5010e32677d2b24d713dd

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex