Our bug(s). Seems like nobody bothered to test it with the MinGW so far...
I am posting fixes - in the zip there is reference package fixed, however, there was further stupid bug in Sql code - please replace .cpp file inside uppsrc/Sql package too....