fix for mingw build
Format