stqc buffer limit fix
mingw compile fix