Updating submodules with some fixes for MinGW build