Fixed windows port for MingW

this is something AWESOME! :D

windows is coming back!