MinGW build brought take 1