Updating submodules with some fixes for build under MinGW