Mingw building now works and wine is used for unit testing.